using MediatR;
using Medical.ErrorCode;
using Medical.ReadApi.Dto;

namespace Medical.ReadApi.Appcontext.Command
{
	/// <summary>
	/// 获取挂号单模板列表查询
	/// </summary>
	public class GetRegistrationSlipTemplatesListQuery : IRequest<ApiPaging<RegistrationSlipTemplateDto>>
	{
		/// <summary>
		/// 是否启用（可选过滤条件）
		/// </summary>
		public bool? IsActive { get; set; }

		/// <summary>
		/// 模板名称关键字（可选搜索条件）
		/// </summary>
		public string? TemplateNameKeyword { get; set; }

		/// <summary>
		/// 页码
		/// </summary>
		public int Page { get; set; } = 1;

		/// <summary>
		/// 每页大小
		/// </summary>
		public int Size { get; set; } = 10;
	}
}
